package pta07;

import java.util.Arrays;

public class pta743_RunnableAnonymousInner {			
	    public static void main(String[] args) {
	        final String mainThreadName = Thread.currentThread().getName();
	        Thread t1 =new Thread(/*new Runnable() {
				@Override
				public void run() {
					System.out.println(mainThreadName);
					System.out.println(Thread.currentThread().getName());
					System.out.println(Arrays.toString(getClass().getInterfaces()));
				}
			}*/
	        		()->{
	        			System.out.println(mainThreadName);
						System.out.println(Thread.currentThread().getName());
						System.out.println(Runnable.class.getName());
	        		}
	        		);
	        t1.start();
	      }
}
